package com.qding.park.manager.web.controller;

import java.io.IOException;

import javax.servlet.ServletException;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.qding.park.common.web.controller.BaseController;
import com.qding.park.manager.cache.ConfigDataCacheInter;
import com.qding.park.manager.common.rest.domain.AnswerMsg;
import com.qding.park.manager.common.rest.domain.AnswerMsgFactoryImpl;

@RestController
@RequestMapping("/test")
public class WebController extends BaseController {

	private static final Log _log = LogFactory.getLog(WebController.class);
	
	@Autowired
	private ConfigDataCacheInter  configDataCacheInter;
	

	@RequestMapping("")
	public AnswerMsg userCarSync() throws ServletException, IOException {
		AnswerMsg answerMsg = AnswerMsgFactoryImpl.createAnswerMsg(null);
		return answerMsg;
	}
	
}
